QDa = function (a, b, c, d) {
		a.client || (a.client = {});
		a.client.originalUrl = b;
		var e = xA(b),
			f = ODa(b, "X-YouTube-Time-Zone");
		(e || f) && "undefined" !== typeof Intl && (a.client.timeZone = new Intl.DateTimeFormat().resolvedOptions().timeZone);
		f = ODa(b, "X-YouTube-Ad-Signals");
		if (e || f || "" !== c) {
			var h = {};
			b = rA(AA(c)).split("&");
			var l = new Map();
			b.forEach(function (m) {
				m = m.split("=");
				1 < m.length && l.set(m[0].toString(), decodeURIComponent(m[1].toString()));
			});
			l.has("bid") && (h.bid = l.get("bid"));
			h.params = [];
			PDa.forEach(function (m) {
				l.has(m) && ((m = { key: m, value: l.get(m) }), h.params.push(m));
			});
			a.adSignalsInfo = h;
		}
		a.client.unpluggedAppInfo || (a.client.unpluggedAppInfo = {});
		a.client.unpluggedAppInfo.enableFilterMode = !1;
		b = d.j.cosver;
		null != b && "cosver" !== b && (a.client.osVersion = b);
		b = d.j.cplatform;
		null != b && "cplatform" !== b && "" !== b && (a.client.platform = b);
		b = d.j.cmodel;
		null != b && "cmodel" !== b && (a.client.deviceModel = b);
		b = d.j.cplayer;
		null != b && "cplayer" !== b && (a.client.playerType = b);
		d = d.j.cbrand;
		null != d && "cbrand" !== d && (a.client.deviceMake = d);
		a.user || (a.user = {});
		a.user.lockedSafetyMode = !1;
	};

NDa = function(a, b, c, d) {
        var e = void 0 === c ? {} : c;
        c = e.CG;
        var f = e.Ve
          , h = e.cueProcessedMs;
        d = void 0 === d ? "" : d;
        var l = a.player.getVideoData(1);
        e = a.player.X().Ko;
        var m = {
            AD_BLOCK: a.j++,
            AD_BREAK_LENGTH: c ? c.Zh : 0,
            AUTONAV_STATE: LDa(a.player.X()),
            CA_TYPE: "image",
            CPN: l.clientPlaybackNonce,
            DRIFT_FROM_HEAD_MS: 1E3 * a.player.vt(),
            LACT: MF(),
            LIVE_INDEX: c ? a.B++ : 1,
            LIVE_TARGETING_CONTEXT: c && c.context ? c.context : "",
            MIDROLL_POS: f ? Math.round(f.start / 1E3) : 0,
            MIDROLL_POS_MS: f ? Math.round(f.start) : 0,
            VIS: a.player.getVisibilityState(),
            P_H: a.player.qb().ek().height,
            P_W: a.player.qb().ek().width,
            YT_REMOTE: e ? e.join(",") : ""
        }
          , n = ema(dma);
        Object.keys(n).forEach(function(q) {
            null != n[q] && (m[q.toUpperCase()] = n[q].toString())
        });
        "" !== d && (m.BISCOTTI_ID = d);
        d = {};
        zA(b) && (d.sts = "19578",
        (c = a.player.X().forcedExperiments) && (d.forced_experiments = c));
        var p = wA(g.Rq(b, m), d);
        a.player.getVideoData();
        return 2 !== p.split("?").length ? Pf(Error("Invalid AdBreakInfo URL")) : g.uM(a.player.X(), null == l ? void 0 : l.oauthToken).then(function(q) {
            if (q && yA()) {
                var t = $P();
                HDa(t, q)
            }
            q = a.player.pn(t);
            t = MDa(a, p, m, l.isMdxPlayback, h);
            return g.bQ(q, t, "/youtubei/v1/player/ad_break").then(function(u) {
                return u
            })
        })
    }

var m8a = {
		dba: "FINAL",
		S_: "AD_BREAK_LENGTH",
		Rfa: "AD_CPN",
		Yfa: "AH",
		dga: "AD_MT",
		gga: "ASR",
		kga: "AW",
		Joa: "NM",
		Koa: "NX",
		Loa: "NY",
		e0: "CONN",
		Gpa: "CPN",
		ksa: "DV_VIEWABILITY",
		fta: "ERRORCODE",
		pta: "ERROR_MSG",
		sta: "EI",
		v0: "GOOGLE_VIEWABILITY",
		fCa: "IAS_VIEWABILITY",
		oFa: "LACT",
		V2: "LIVE_TARGETING_CONTEXT",
		VKa: "I_X",
		WKa: "I_Y",
		oNa: "MT",
		CNa: "MIDROLL_POS",
		DNa: "MIDROLL_POS_MS",
		bOa: "MOAT_INIT",
		cOa: "MOAT_VIEWABILITY",
		f3: "P_H",
		YUa: "PV_H",
		ZUa: "PV_W",
		g3: "P_W",
		sVa: "TRIGGER_TYPE",
		hYa: "SDKV",
		m3: "SLOT_POS",
		p4a: "SURVEY_LOCAL_TIME_EPOCH_S",
		o4a: "SURVEY_ELAPSED_MS",
		x3: "VIS",
		zab: "VIEWABILITY",
		Gab: "VED",
		y3: "VOL",
		Jab: "WT",
		C3: "YT_ERROR_CODE",
	};
	var yBa = ["FINAL", "CPN", "MIDROLL_POS", "SDKV", "SLOT_POS"];

    g1 = function(a, b, c, d, e, f) {
        var h = c ? j8a(a) : {};
        c = c ? k8a(a, c.layoutId) : {};
        var l = l8a(a), m, n = null != e ? e : null == (m = a.Xa.get().xf(2)) ? void 0 : m.clientPlaybackNonce;
        a.J.X().N("enable_player_logging_lr_home_infeed_ads") && !n && (n = a.Xa.get().xf(1).clientPlaybackNonce);
        e = {};
        d = Object.assign({}, LO(a.J, d), tBa(b.adPlacementConfig, a.J.N("h5_disable_client_subs_slot_pos")), c, h, l, (e.FINAL = KO(function() {
            return "1"
        }),
        e.AD_CPN = KO(function() {
            return n || ""
        }),
        e));
        a.J.N("h5_disable_client_subs_slot_pos") || (d.SLOT_POS = KO(function() {
            return (b.mX || 0).toString()
        }));
        a = {};
        f = Object.assign({}, d, f);
        d = g.v(Object.values(m8a));
        for (h = d.next(); !h.done; h = d.next())
            h = h.value,
            e = f[h],
            null != e && null != e.toString() && (a[h] = e.toString());
        return a
    }

dt=1692075344918&flash=0&frm&u_tz=120&u_his=8&u_h=1080&u_w=1920&u_ah=1056&u_aw=1920&u_cd=24&bc=31&bih=922&biw=1297&brdim=2267%2C60%2C2267%2C60%2C1920%2C0%2C1313%2C994%2C1313%2C922&vis=1&wgl=true&ca_type=image